<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<body>

<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation" th:fragment="menu(current_page)">
    <div class="container">
        <div class="navbar-header">
            <!-- logo -->
            <a class="navbar-brand" href="#">
                <img th:src="@{/images/wilmar-logo.png}" src="../../static/images/wilmar-logo.png"/>
            </a>
            <!--<a class="navbar-brand" href="http://www.wilmar-international.com/">Wilmar OSS</a>-->
        </div>

        <div class="collapse navbar-collapse"
             id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li th:classappend="${current_page}=='home'?'active':''"><a th:href="@{/}"
                                                                            href="../welcome.html">Home</a></li>
                <li><a th:href="@{/owners/find.html}" href="../owners/find.html">Find owners</a></li>
                <li><a th:href="@{/vets.html}" href="../vets.html">Veterinarians</a></li>
                <li><a th:href="@{/orders.html}" href="../orders/ordersList.html">Admin</a></li>
                <li><a href="../exception.html" th:href="@{/oups.html}"
                       title="trigger a RuntimeException to see how it is handled">Error</a></li>

                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        Admin <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="#" th:href="@{/actuator}">actuator</a></li>
                        <li class="divider"></li>
                        <li><a href="#" th:href="@{/autoconfig}">autoconfig</a></li>
                        <li><a href="#" th:href="@{/beans}">beans</a></li>
                        <li><a href="#" th:href="@{/configprops}">configprops</a></li>
                        <li><a href="#" th:href="@{/dump}">jmeter</a></li>
                        <li><a href="#" th:href="@{/env}">jmeter</a></li>
                        <li><a href="#" th:href="@{/flyway}">jmeter</a></li>
                        <li class="divider"></li>
                        <li><a href="#" th:href="@{/health}">jmeter</a></li>
                        <li><a href="#" th:href="@{/info}">jmeter</a></li>
                        <li class="divider"></li>
                        <li><a href="#" th:href="@{/liquibase}">jmeter</a></li>
                        <li><a href="#" th:href="@{/metrics}">jmeter</a></li>
                        <li><a href="#" th:href="@{/mappings}">jmeter</a></li>
                        <li><a href="#" th:href="@{/shutdown}">jmeter</a></li>
                        <li><a href="#" th:href="@{/trace}">jmeter</a></li>
                    </ul>
                </li>

                <li><a href="#" title="not available yet. Work in progress!!"><i
                        class=" icon-question-sign"></i>Help</a>
                </li>

                <!--
                            <li style="width: 100px;"><a href="../welcome.html" th:href="@{/}"><i class="icon-home"></i>Home</a></li>
                            <li style="width: 130px;"><a href="../owners/findOwners.html" th:href="@{/owners/find.html}"><i class="icon-search"></i>Find owners</a></li>
                            <li style="width: 140px;"><a href="../vets/vetList.html" th:href="@{/vets.html}"><i class="icon-th-list"></i>Veterinarians</a></li>
                            <li style="width: 90px;"><a href="../exception.html" th:href="@{/oups.html}" title="trigger a RuntimeException to see how it is handled"><i class="icon-warning-sign"></i>Error</a></li>
                            <li style="width: 80px;"><a href="#" title="not available yet. Work in progress!!"><i class=" icon-question-sign"></i>Help</a></li>
                -->

            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="#">Link</a></li>
            </ul>
        </div>
    </div>
</nav>

</body>
</html>